import request from '@/utils/request'


export const alarmClear = (data) => {
    return request({
        url: '/tool/alarmClear',
        method: 'post',
        data: data
    })
}

export const resetPassword = (data) => {
    return request({
        url: '/tool/resetPassword',
        method: 'post',
        data: data
    })
}

export const allowClientEdit = (data) => {
    return request({
        url: '/tool/allowClientEdit',
        method: 'post',
        data: data
    })
}

export const prohibitClientEdit = (data) => {
    return request({
        url: '/tool/prohibitClientEdit',
        method: 'post',
        data: data
    })
}

export const resetInstallPassword = (data) => {
    return request({
        url: '/tool/resetInstallPassword',
        method: 'post',
        data: data
    })
}

export const getKeywords = () => {
    return request({
        url: '/tool/keywords',
        method: 'get',
    })
}

export const addKeyword = (data) => {
    return request({
        url: '/tool/addKeyword',
        method: 'post',
        data: data
    })
}